#pragma once

#include "Goods.h"
#include <vector>
#include <memory>

struct Packback
{
	std::vector<std::shared_ptr<Goods>> _bag;

	Packback();

	bool upGoods(std::shared_ptr<Goods> goods);
	bool downGoods(size_t index);
	size_t findGoods(std::string& name);
	void PackbackMenu();
	void PackbackMenuOperate(Game&);
	bool useGoods(Game& game, size_t index);
};
